package biz.obake.team.touchprotector.d.h;

import biz.obake.team.touchprotector.R;
import biz.obake.team.touchprotector.d.c;
import biz.obake.team.touchprotector.tpservice.TPService;
import java.util.List;

public class a extends biz.obake.team.touchprotector.d.b implements c.b {

    private class b {

        /* renamed from: a  reason: collision with root package name */
        boolean f1574a;

        /* renamed from: b  reason: collision with root package name */
        boolean f1575b;

        /* renamed from: c  reason: collision with root package name */
        boolean f1576c;

        private b(a aVar) {
            this.f1574a = "Locked".equals(biz.obake.team.touchprotector.g.c.c("TPService.State"));
            this.f1575b = biz.obake.team.touchprotector.g.c.b("Power.Connected");
            this.f1576c = biz.obake.team.touchprotector.g.a.g("unlock_usb");
        }
    }

    public void a(List<String> list) {
        if (new b().f1576c) {
            list.add(biz.obake.team.touchprotector.c.w(R.string.power_unlockingway_usb));
        }
    }

    /* access modifiers changed from: protected */
    public void b(String str) {
        if (((str.hashCode() == 1940907296 && str.equals("Power.Connected")) ? (char) 0 : 65535) == 0) {
            b bVar = new b();
            if (bVar.f1574a && bVar.f1575b && bVar.f1576c) {
                TPService.k("UnlockForce", "PowerActions");
            }
        }
    }
}
